
<?
	   layout("/inc/win_layout.html",{title:sysTitle}){
    ?>

<div class="row" style="min-height: auto;padding-bottom: 20px;">
	<div class="col-lg-12">
		<div class="panel">
			<div class="panel-body pan" style="height: 450px">
				<form action="#" class="form-horizontal">
					<div class="form-body pal">
							<div style="width:500px; margin:0 25px 0 25px;" class="col-md-9" >
								<label for="inputUsername" class="col-md-6 control-label">当前页数
									<span class='require' id="zhongwenName"></span> </label>
								<div class="col-md-9">
									<div class="input-icon">
										<input id="pageNumber" placeholder="请输入数字..." type="text" class="form-control"  />
									</div>
								</div>
							</div>		
							<div style="width:500px; margin:0 25px 0 25px;" class="col-md-9" >
								<label for="inputUsername" class="col-md-6 control-label">每页显示记录数
									<span class='require' id="zhongwenName"></span> </label>
								<div class="col-md-9">
									<div class="input-icon">
										<input id="pageSize" placeholder="请输入数字..." type="text" class="form-control"  />
									</div>
								</div>
							</div>
						
							<div style="width:500px; margin:0 25px 0 25px; padding-top: 10px;" class="col-md-9" >
								<label  style="width:500px;" for="inputUsername" class="col-md-12 control-label" >
									<span class='require' id="zhongwenName">
									 <button type="button" onclick="Page()" class="btn btn-primary btn-blue" >
											获取数据
										</button></span> </label>
								<div class="col-md-9" >
									<div  class="input-icon"  style="border:2px solid #999; height: 258px;overflow :auto" id="textJSON">
									</div>
								</div>
							</div>
						<input id="id" type="hidden" class="form-control" />
					</div>
				</form>
			</div>
		</div>
	</div>
</div>

<?} ?>

<script>
	var classNameEn = window.parent.getlay();
	//alert("classNameEn     "+classNameEn);
	$("#textJSON").html("");
	function Page(){
		$.ajax({
			type : "POST",
			url : "./dataInterfaceDebug.do",
			data : {
				"classNameEn" : classNameEn,
				"pageSize" : $("#pageSize").val(),
				"pageNumber" :$("#pageNumber").val()
			},
			//contentType:"application/json",  //发送至服务器的类型
			dataType : "html",
			//async : false,
			success : function(data) {
			/* alert(JSON.stringify(data)); */
				$("#textJSON").html(data);
			},
			error : function(data) {
				alert("请求失败");
			}
		});
	}
	
</script>


